<?php
/* @var $this QuotationOrderHeaderController */
/* @var $model QuotationOrderHeader */

$this->breadcrumbs=array(
	'Quotation'=>array('index'),
	$model->quotation_no,
);

$this->menu=array(
	array('label'=>'List Quotation', 'url'=>array('index')),
	array('label'=>'View Quotation', 'url'=>array('viewQuotationOrderHeader','id'=>$model->quotation_no)),
	array('label'=>'Create ', 'url'=>array('create')),
	array('label'=>'Update ', 'url'=>array('update', 'id'=>$model->quotation_no)),
	array('label'=>'Delete ', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->quotation_no),'confirm'=>'Are you sure you want to delete this item?')),
);
?>

<h1>View Quotation  #<?php echo $model->quotation_no; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'quotation_no',
		array(
			'name'=>'customer',
			'value'=>$model->Customer->customer,
		),
		'attention',
		'project',
		'reff',
		array(
			'name'=>'date',
			'value'=>date('d M Y', strtotime($model->date)),
         ),
		'currency',
		array(
			'name'=>'discount',
			'value'=>$model->discount.' %',
         ),
		'delivery',
		'payment',
		'validity',
		'remarks',
	),
)); ?>
